home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group03a.txt / 000087_icon-group-sender_Wed Aug 13 07:36:26 2003.msg < prev    next >
Internet Message Format  |  2003-12-22  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id h7DEYiM04035
  4.     for icon-group-addresses; Wed, 13 Aug 2003 07:34:44 -0700 (MST)
  5. Message-Id: <200308131434.h7DEYiM04035@baskerville.CS.Arizona.EDU>
  6. Date: Tue, 12 Aug 2003 17:06:46 -0700 (MST)
  7. From: Gregg Townsend <gmt>
  8. To: ahamm@mail.com
  9. Cc: icon-group
  10. Subject: Re: pre-processing?
  11. Errors-To: icon-group-errors@cs.arizona.edu
  12. Status: RO
  13.  
  14. > OK - thanks for the reply. I've virtually settled on just poking the version
  15. > details into the .u1 straight after compiling. I suppose I could latch onto
  16. > the first procedure header in each file and inject a string.
  17.  
  18. Injecting a trivial procedure at end of file might be even easier.
  19.  
  20. > Looking in a basic .u1 emitted from 9.4.1, I see:
  21. > proc thingy
  22. >         filen   tester.icn
  23. >         local   0,001000,a
  24. >         local   1,001000,args
  25. >         local   2,000020,b
  26. >         local   3,000020,c
  27. >         con     0,010000,6,163,164,162,151,156,147
  28. >         con     1,002000,2,10
  29. >         declend
  30. > so it seems reasonable to find the first proc, then count the "con"s and add
  31. > a new con with the next available serial number just before the declend?
  32. > Do you, from your position of great inner knowledge, see any downside to
  33. > this technique being applied in the Makefile?
  34.  
  35. I *think* that should work, assuming you have a way to get it back out.
  36. But it's been a long time since I've mucked with the icode.
  37.  
  38.  
  39. ---------------------------------------------------------------------------
  40. Gregg Townsend         Staff Scientist      The University of Arizona
  41. gmt@cs.arizona.edu     Computer Science     Tucson, Arizona, USA
  42.